<!-- 搜索页面搜索历史相关 -->
<template>
  <div>
    <div class="center">
      <div class="hisy">
        <h4>搜索历史</h4>
        <p>清除记录</p>
      </div>
      <!-- 搜索记录内容 -->
      <div class="h-history">
        <searchItem></searchItem>
      </div>
      
    </div>
  </div>
</template>

<script>
import searchItem from "@/components/searchItem.vue";
export default {
  components: {
    searchItem
  },
}
</script>

<style lang="scss" scoped>
.center {
  margin: 10px 20px 0;

  .h-history {
    margin: 10px 0 40px 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
}

.hisy {
  display: flex;
  justify-content: space-between;
  position: relative;

  p {
    font-size: 14px;
    position: absolute;
    bottom: 0;
    right: 0;
    color: #129646;
  }
}
</style>